/**
 * @author AdinZ
 * @date 2023/5/7 13:59
 *
 */
import {h} from "vue";

export default {
    props: {
        node: Object
    },
    setup(props) {
        console.log('Col', props)
        if (props.node instanceof Object && props.node.__v_isVNode) {
            return () => props.node
        } else return () => h('div', {innerHTML: props.node})
    }
}